package com.hongxun.greenentity.tk;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;


/**
 * 配电材料信息表
 *
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-07-27 15:51:03
 */
@Entity
public class BMaterialEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //主键
    @Id
    private String guid;
    //信息库类别  数据字典  information_type (配网，主网)
    private String mInformationType;
    //物质编码
    private String mCode;
    //材料大类
    private String mBigtype;
    //材料中类
    private String mMidtype;
    //材料标签
    private String mLabel;
    //材料名称
    private String mName;
    //主要技术参数
    private String mParameter;
    //电压等级 数据字典 voltage_type(10kV,380V,220V)
    private String mVoltage;
    //查询预算参数名称
    private String mBParameter;
    //查询预算值
    private Double mQuery;
    //采购级别 数据字典 buy_type（省公司组织采购）
    private String mBuyType;
    //购置单位
    private String mUnit;
    //购置单价
    private Double mPrice;
    //单重（kg）
    private Double mWeight;
    //预算项目分类
    private String mClass;
    //预算项目
    private String mItem;
    //是否主材
    private String mIsmain;
    //配置已有预算项
    private Integer mIshave;
    //购置单位对应的数量
    @Transient
    private Double mCount;

    @Generated(hash = 2023754743)
    public BMaterialEntity(String guid, String mInformationType, String mCode,
            String mBigtype, String mMidtype, String mLabel, String mName,
            String mParameter, String mVoltage, String mBParameter, Double mQuery,
            String mBuyType, String mUnit, Double mPrice, Double mWeight,
            String mClass, String mItem, String mIsmain, Integer mIshave) {
        this.guid = guid;
        this.mInformationType = mInformationType;
        this.mCode = mCode;
        this.mBigtype = mBigtype;
        this.mMidtype = mMidtype;
        this.mLabel = mLabel;
        this.mName = mName;
        this.mParameter = mParameter;
        this.mVoltage = mVoltage;
        this.mBParameter = mBParameter;
        this.mQuery = mQuery;
        this.mBuyType = mBuyType;
        this.mUnit = mUnit;
        this.mPrice = mPrice;
        this.mWeight = mWeight;
        this.mClass = mClass;
        this.mItem = mItem;
        this.mIsmain = mIsmain;
        this.mIshave = mIshave;
    }

    @Generated(hash = 1262334289)
    public BMaterialEntity() {
    }

    public Double getmCount() {
        return mCount;
    }

    public void setmCount(Double mCount) {
        this.mCount = mCount;
    }

    /**
     * 设置：主键
     */
    public void setGuid(String guid) {
        this.guid = guid;
    }

    /**
     * 获取：主键
     */
    public String getGuid() {
        return guid;
    }

    /**
     * 设置：信息库类别  数据字典  information_type (配网，主网)
     */
    public void setMInformationType(String mInformationType) {
        this.mInformationType = mInformationType;
    }

    /**
     * 获取：信息库类别  数据字典  information_type (配网，主网)
     */
    public String getMInformationType() {
        return mInformationType;
    }

    /**
     * 设置：物质编码
     */
    public void setMCode(String mCode) {
        this.mCode = mCode;
    }

    /**
     * 获取：物质编码
     */
    public String getMCode() {
        return mCode;
    }

    /**
     * 设置：材料大类
     */
    public void setMBigtype(String mBigtype) {
        this.mBigtype = mBigtype;
    }

    /**
     * 获取：材料大类
     */
    public String getMBigtype() {
        return mBigtype;
    }

    /**
     * 设置：材料中类
     */
    public void setMMidtype(String mMidtype) {
        this.mMidtype = mMidtype;
    }

    /**
     * 获取：材料中类
     */
    public String getMMidtype() {
        return mMidtype;
    }

    /**
     * 设置：材料标签
     */
    public void setMLabel(String mLabel) {
        this.mLabel = mLabel;
    }

    /**
     * 获取：材料标签
     */
    public String getMLabel() {
        return mLabel;
    }

    /**
     * 设置：材料名称
     */
    public void setMName(String mName) {
        this.mName = mName;
    }

    /**
     * 获取：材料名称
     */
    public String getMName() {
        return mName;
    }

    /**
     * 设置：主要技术参数
     */
    public void setMParameter(String mParameter) {
        this.mParameter = mParameter;
    }

    /**
     * 获取：主要技术参数
     */
    public String getMParameter() {
        return mParameter;
    }

    /**
     * 设置：电压等级 数据字典 voltage_type(10kV,380V,220V)
     */
    public void setMVoltage(String mVoltage) {
        this.mVoltage = mVoltage;
    }

    /**
     * 获取：电压等级 数据字典 voltage_type(10kV,380V,220V)
     */
    public String getMVoltage() {
        return mVoltage;
    }

    /**
     * 设置：查询预算参数名称
     */
    public void setMBParameter(String mBParameter) {
        this.mBParameter = mBParameter;
    }

    /**
     * 获取：查询预算参数名称
     */
    public String getMBParameter() {
        return mBParameter;
    }

    /**
     * 设置：查询预算值
     */
    public void setMQuery(Double mQuery) {
        this.mQuery = mQuery;
    }

    /**
     * 获取：查询预算值
     */
    public Double getMQuery() {
        return mQuery;
    }

    /**
     * 设置：采购级别 数据字典 buy_type（省公司组织采购）
     */
    public void setMBuyType(String mBuyType) {
        this.mBuyType = mBuyType;
    }

    /**
     * 获取：采购级别 数据字典 buy_type（省公司组织采购）
     */
    public String getMBuyType() {
        return mBuyType;
    }

    /**
     * 设置：购置单位
     */
    public void setMUnit(String mUnit) {
        this.mUnit = mUnit;
    }

    /**
     * 获取：购置单位
     */
    public String getMUnit() {
        return mUnit;
    }

    /**
     * 设置：购置单价
     */
    public void setMPrice(Double mPrice) {
        this.mPrice = mPrice;
    }

    /**
     * 获取：购置单价
     */
    public Double getMPrice() {
        return mPrice;
    }

    /**
     * 设置：单重（kg）
     */
    public void setMWeight(Double mWeight) {
        this.mWeight = mWeight;
    }

    /**
     * 获取：单重（kg）
     */
    public Double getMWeight() {
        return mWeight;
    }

    /**
     * 设置：预算项目分类
     */
    public void setMClass(String mClass) {
        this.mClass = mClass;
    }

    /**
     * 获取：预算项目分类
     */
    public String getMClass() {
        return mClass;
    }

    /**
     * 设置：预算项目
     */
    public void setMItem(String mItem) {
        this.mItem = mItem;
    }

    /**
     * 获取：预算项目
     */
    public String getMItem() {
        return mItem;
    }

    public String getmIsmain() {
        return mIsmain;
    }

    public void setmIsmain(String mIsmain) {
        this.mIsmain = mIsmain;
    }

    public Integer getmIshave() {
        return mIshave;
    }

    public void setmIshave(Integer mIshave) {
        this.mIshave = mIshave;
    }

    public String getMIsmain() {
        return this.mIsmain;
    }

    public void setMIsmain(String mIsmain) {
        this.mIsmain = mIsmain;
    }

    public Integer getMIshave() {
        return this.mIshave;
    }

    public void setMIshave(Integer mIshave) {
        this.mIshave = mIshave;
    }
}
